
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'add.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="css/css.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.9.1.min.js"></script>
  </head>
  
  <body>

 <form action="change/gengming.do" method="post" name="f1">
<input type="hidden" name="hid" value="${housepayment.id}">

 <table width="100%" border="0" cellpadding="0" cellspacing="1" class="ybox04table">
            <tr>
              <td class="ybox04tdr" colspan="7"><h6 style="color: red;">填写更名信息</h6></td>
              <td class="ybox04tdr"></td>
            </tr>
            <tr>
             <td  class="ybox04tdl"><span class="red">*</span>客户名称：</td>
             <td  class="ybox04tdr"><input name="receivableoney" type="text" value="${cname}" readonly="readonly"/></td>
             <td  class="ybox04tdl"></td>
             <td  class="ybox04tdr"></td>
             <td  class="ybox04tdl"></td>
             <td  class="ybox04tdr"></td>
             <td  class="ybox04tdl"></td>
             <td  class="ybox04tdr"></td>
              </tr> <tr>
             <td  class="ybox04tdl"><span class="red">*</span>落户名称：</td>
             <td  class="ybox04tdr"><input name="receivableoney" type="text" value="${cname}" readonly="readonly"/></td>
             <td  class="ybox04tdl"></td>
             <td  class="ybox04tdr"></td>
             <td  class="ybox04tdl"></td>
             <td  class="ybox04tdr"></td>
             <td  class="ybox04tdl"></td>
             <td  class="ybox04tdr"></td>
              </tr>
              
              <tr>
             <td  class="ybox04tdl"><span class="red">*</span>更换名称：</td>
             <td  class="ybox04tdr"><input name="fname" type="text"/></td>
             <td  class="ybox04tdl"></td>
             <td  class="ybox04tdr"></td>
             <td  class="ybox04tdl"></td>
             <td  class="ybox04tdr"></td>
             <td  class="ybox04tdl"></td>
             <td  class="ybox04tdr"></td>
              </tr>
       
          
          
              <td  class="ybox04tdr"  colspan="8"><input type="button" onclick="tijiao()" value="提交"/>
               <input type="button" value="取消" onclick="end()"/>  </td>
            </tr>
          </table>
</form>

  </body>
  
</html>
<script>

	function end() {
		window.location.href = "housepayment/housepayment.do";
	}
	
	
	function tijiao() {
	
	    
	    var fname=document.f1.fname.value;
	  
	    if(fname ==null || fname =="")
	    {
	    
	      alert("更换落户名称不能为空");
	    }else{
	    
	    f1.submit();
	    
	    }
	}
	
</script>




